{include file="public/head"/} 
  <body>
    <div class="x-nav">
      <span class="layui-breadcrumb">
        <a><cite>后台管理</cite></a>
        <a><cite>停车记录管理中心</cite></a>
        <a><cite>停车记录管理</cite></a>
      </span>
      <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right" href="javascript:location.replace(location.href);" title="刷新">
        <i class="layui-icon" style="line-height:30px">ဂ</i></a>
    </div>
    <div class="x-body">
      <div class="layui-row">
        <form class="layui-form layui-col-md12 x-so"  method="get" action="#">

          <div class="layui-input-inline">
            <select name="parkingNo" lay-filter="parkingNo" id="parkingNo">
              <option value="">所属停车场</option>
              {foreach $parkinglist as $parking}
              <option value="{$parking.parkingNo}" {if isset($parkingNo)}{if $parkingNo == $parking.parkingNo} selected {/if}{/if}>{$parking.parkingName}</option>
              {/foreach}
            </select>
          </div>
          
          <button class="layui-btn"  lay-submit="" lay-filter="sreach"><i class="layui-icon">&#xe615;</i></button>
        </form>
      </div>
      <xblock>
	  <button class="layui-btn" onclick="recordDump('')"><i class="layui-icon"></i>批量导出</button></button>
       
        <span class="x-right" style="line-height:40px">共有数据：{$number} 条</span>
      </xblock>
      <table class="layui-table">
        <thead>
          <tr>
            <!-- <th style="text-align: center; font-size: 16px;">
              <div class="layui-unselect header layui-form-checkbox" lay-skin="primary"><i class="layui-icon">&#xe605;</i></div>
            </th> -->
            <th style="text-align: center; font-size: 16px;">ISV停车场ID</th>
            
            <th style="text-align: center; font-size: 16px;">停车场名称</th>
            <th style="text-align: center; font-size: 16px;">客户端</th>
            <th style="text-align: center; font-size: 16px;">车牌号码</th>
            <th style="text-align: center; font-size: 16px;">入场时间</th>
            <th style="text-align: center; font-size: 16px;">入口</th>
           
           
          </tr>
        </thead>
        <tbody>
          {foreach $list as $lis}
          <tr>
            <!-- <td style="text-align: center;">
              <div class="layui-unselect layui-form-checkbox" lay-skin="primary" data-id='2'><i class="layui-icon">&#xe605;</i></div>
            </td> -->
            <td style="text-align: center;">{$lis.parkingNo}</td>
            <td style="text-align: center;">{$lis.parkingName}</td>
            <td style="text-align: center;">{$lis.clientNo}</td>
            <td style="text-align: center;">{$lis.carPlateNo}</td>
            <td style="text-align: center;">{$lis.parkingStartTime|strtotime|date="Y-m-d H:i:s"}</td>
            <td style="text-align: center;">{$lis.inChannelName}</td>
            
              
            </td>
            
          </tr>
          {/foreach}
        </tbody>
      </table>
      <div class="page">
        <div>
            {$list->render()|raw}
        </div>
      </div>

    </div>
    <script>

     
	  


    </script>
    <script>var _hmt = _hmt || []; (function() {
        var hm = document.createElement("script");
        hm.src = "https://hm.baidu.com/hm.js?b393d153aeb26b46e9431fabaf0f6190";
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(hm, s);
      })();
    </script>
  </body>

</html>